package grape.composite.rest.bus.vo;
import grape.common.rest.vo.BaseIdVo;

import grape.common.service.trans.TransBy;
import grape.composite.service.bus.api.IBusService;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 公交站点表
 * </p>
 *
 * @author yangwei
 * @since 2020-09-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="公交站点数据响应对象")
public class BusStationVo extends BaseIdVo<String> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编码，唯一")
    private String code;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "公交线id")
    private String busId;

    @TransBy(type = IBusService.trans_bus_name,byFieldName = "busId")
    @ApiModelProperty(value = "公交线名称")
    private String busName;

    @ApiModelProperty(value = "首班发车时间")
    private String firstStartAt;

    @ApiModelProperty(value = "末班结束时间")
    private String lastEndAt;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "上行，从发车到该站点运行时间，单位分钟")
    private Integer runUpDuration;

    @ApiModelProperty(value = "下行，从发车到该站点运行时间，单位分钟")
    private Integer runDownDuration;

    @ApiModelProperty(value = "上行，停站时间，单位分钟")
    private Integer stayUpDuration;

    @ApiModelProperty(value = "下行，停站时间，单位分钟")
    private Integer stayDownDuration;

    @ApiModelProperty(value = "第几站")
    private Integer seq;

    @ApiModelProperty(value = "备注")
    private String remark;


}
